<template>
  <common-list-tabs>
    <common-tabs slot="tabs" v-model="activeName">
      <el-tab-pane label="邮件配置" name="setting"></el-tab-pane>
      <el-tab-pane label="邮件内容模板" name="templateemail"></el-tab-pane>
    </common-tabs>
    <component slot="content" :is="activeName"></component>
  </common-list-tabs>
</template>

<script>
import setting from './setting.vue'
import templateemail from './template.vue'

export default {
  name: 'email',
  components: {
    setting,
    templateemail
  },
  data() {
    return {
      activeName: 'setting'
    }
  }
}
</script>
